package com.sheliduan.itlearning.common.domain.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: 断舍离
 * @date: 2025/2/8 20:55
 * @description: 博主统计数据表实体类
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("t_blogger_statistics")
public class BloggerStatisticsDO {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    // 该博主发布文章课程的总阅读量
    private Integer articleReadNums;

    // 该博主发布视频课程的总观看量
    private Integer videoWatchNums;

    // 该博主文章课程收益
    private Double articleIncome;

    // 该博主视频课程收益
    private Double videoIncome;
}
